package com.boot.common.constant;

/**
 * 消息常量
 */
public interface MessageConstant {

    String SUCCESS = "成功";

    String FAIL = "失败";

    String SYSTEM_ERROR = "系统错误";

    String CHANNEL_ERROR = "渠道错误";

    String USERNAME_OR_PASSWORD_ERROR = "用户名或密码错误";

    String USER_LOCKED = "用户已锁定";

    String USERNAME_EXIST = "账号已存在";

    String USERNAME_NOT_EXIST = "账号不存在";

    String EMAIL_EXIST = "邮箱已存在";

    String PHONE_EXIST = "手机号已存在";

    String ACCESS_TOO_FAST = "访问太快了";

    String TOKEN_EXPIRE = "令牌已失效";

    String PERMISSION_DENIED = "权限不足";

    String OLD_PASSWORD_ERROR = "原密码错误";

    String ROLE_EXIST = "角色已存在";

    String CAPTCHA_ERROR = "验证码错误";

    String CAPTCHA_EXPIRED = "验证码已失效";

    String CONFIG_EXIST = "配置已存在";

    String DEPT_EXIST = "部门已存在";

    String DICT_EXIST = "字典已存在";

    String MODULE_EXIST = "模块已存在";

    String UPLOAD_FILE_EMPTY = "上传文件为空";

    String UPLOAD_FILE_ERROR = "上传文件失败";

}
